<html>
     <body>流程控制</body>
      <script>
             var num = prompt('输入一个分数：','');
             for(var i = 0; i < num; i++){
                 document.write("hello world! "+i+" <br/>")
             }
            
</script>
</html>
   